<layout name="user" />
<!-- 搜索 -->
<div id="search" class="clearfix">
    <a class="prev fl" href="javascript:history.go(-1);" title="后退">&lt;</a>
    <div class="head fl">提现</div>
</div>
<!-- 搜索 -->

<!-- 内容 -->
<div id="switch">
    <div id="cont" class="clearfix">
        <form id="tixian" class="" action="" method="post">
            <ul class="srtx mt10">
                <li>
                    <p>提现金额</p>
                    <span id="add" onclick="jiaJian('add')">+</span>
                    <input id="num" type="number" name="money" required value="1"/>
                    <span id="reduce" onclick="jiaJian('reduce')">-</span>
                </li>
                <li class="bt0"><i class="srtxje">可提现金额：{$money.money}&nbsp;&nbsp;最少提现金额为￥1</i></li>
            </ul>
            <ul class="listForm mt10">
                <li>
                    <label class="formName fl">真实姓名</label><input type="text" required name="name" placeholder="请输入您的真实姓名" id="formName" class="formText fl" />
                    <em id="formYhm" class="formCwtx fr"></em>
                </li>
                <li class="NameYzm"><div>
                    <label class="formName fl">手机号</label><input type="number" required name="tel" placeholder="输入手机号" id="formTel" class="formText fl" />
                    <em id="formTelcw" class="formCwtx fr"></em>
                </div></li>
            </ul>
            <input type="submit" id="submit" class="footSubmit" value="确认提现" />
        </form>
    </div>
</div>
<!-- 内容 -->

<!-- javascript -->
<script type="text/javascript">
    function jiaJian(kind){
        var oNum=document.getElementById('num');
        var numValue=oNum.value;
        //alert(numValue);
        if(kind==='add'){
            numValue++;
        }else if(kind==='reduce'){
            if(numValue>20)numValue--;
        }
        oNum.value=numValue;
    }
</script>
<!-- javascript -->